package com.hyb.service;

import com.hyb.entity.Plan;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  销售计划Service接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
public interface PlanService extends IService<Plan> {

    void createPlan(Plan plan);

    List<Plan> getPlansBySaleId(Integer saleId);

    List<Plan> getNotNullPlanResultBySaleId(Integer saleId);

    List<Plan> getIsNullPlanResultBySaleId(Integer saleId);

    void updatePlanResult(Plan plan);
}
